home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / hotkey / AutoHotkey104504_Install.exe / Extras / Commands.txt < prev    next >
Text File  |  2006-11-04  |  11KB  |  242 lines

  1. #AllowSameLineComments
  2. #ClipboardTimeout milliseconds
  3. #CommentFlag NewString
  4. #ErrorStdOut
  5. #EscapeChar NewChar
  6. #HotkeyInterval Value
  7. #HotkeyModifierTimeout milliseconds
  8. #Hotstring NewOptions
  9. #IfWinActive [, WinTitle, WinText]
  10. #IfWinExist [, WinTitle, WinText]
  11. #IfWinNotActive [, WinTitle, WinText]
  12. #IfWinNotExist [, WinTitle, WinText]
  13. #Include FileName
  14. #IncludeAgain FileName
  15. #InstallKeybdHook
  16. #InstallMouseHook
  17. #KeyHistory MaxEvents
  18. #LTrim On|Off
  19. #MaxHotkeysPerInterval Value
  20. #MaxMem ValueInMegabytes
  21. #MaxThreads Value
  22. #MaxThreadsBuffer On|Off
  23. #MaxThreadsPerHotkey Value
  24. #NoEnv
  25. #NoTrayIcon
  26. #Persistent
  27. #SingleInstance [force|ignore|off]
  28. #UseHook [On|Off]
  29. #WinActivateForce
  30. AutoTrim, On|Off
  31. BlockInput, On|Off|Send|Mouse|SendAndMouse|Default|MouseMove|MouseMoveOff
  32. Break
  33. Click
  34. ClipWait [, SecondsToWait, 1]
  35. Continue
  36. Control, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  37. ControlClick [, Control-or-Pos, WinTitle, WinText, WhichButton, ClickCount, Options, ExcludeTitle, ExcludeText]
  38. ControlFocus [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  39. ControlGet, OutputVar, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  40. ControlGetFocus, OutputVar [WinTitle, WinText, ExcludeTitle, ExcludeText]
  41. ControlGetPos [, X, Y, Width, Height, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  42. ControlGetText, OutputVar [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  43. ControlMove, Control, X, Y, Width, Height [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  44. ControlSend [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  45. ControlSendRaw [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  46. ControlSetText, Control, NewText [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  47. CoordMode, ToolTip|Pixel|Mouse [, Screen|Relative]
  48. Critical [, Off]
  49. DetectHiddenText, On|Off
  50. DetectHiddenWindows, On|Off
  51. Drive, Sub-command [, Drive , Value]
  52. DriveGet, OutputVar, Cmd [, Value]
  53. DriveSpaceFree, OutputVar, C:\
  54. Edit
  55. Else
  56. EnvAdd, Var, Value [, TimeUnits]
  57. EnvDiv, Var, Value
  58. EnvGet, OutputVar, EnvVarName
  59. EnvMult, Var, Value
  60. EnvSet, EnvVar, Value
  61. EnvSub, Var, Value [, TimeUnits]
  62. EnvUpdate
  63. Exit [, ExitCode]
  64. ExitApp [, ExitCode]
  65. FileAppend [, Text, Filename]
  66. FileCopy, Source, Dest [, Flag (1 = overwrite)]
  67. FileCopyDir, Source, Dest [, Flag]
  68. FileCreateDir, Path
  69. FileCreateShortcut, Target, C:\My Shortcut.lnk [, WorkingDir, Args, Description, IconFile, ShortcutKey, IconNumber, RunState]
  70. FileDelete, FilePattern
  71. FileGetAttrib, OutputVar(RASHNDOCT) [, Filename]
  72. FileGetShortcut, LinkFile [, OutTarget, OutDir, OutArgs, OutDescription, OutIcon, OutIconNum, OutRunState]
  73. FileGetSize, OutputVar [, Filename, Units]
  74. FileGetTime, OutputVar [, Filename, WhichTime (M, C, or A -- default is M)]
  75. FileGetVersion, OutputVar [, Filename]
  76. FileInstall, Source, Dest [, Flag (1 = overwrite)]
  77. FileMove, Source, Dest [, Flag (1 = overwrite)]
  78. FileMoveDir, Source, Dest [, Flag (2 = overwrite)]
  79. FileRead, OutputVar, Filename
  80. FileReadLine, OutputVar, Filename, LineNum
  81. FileRecycle, FilePattern
  82. FileRecycleEmpty [, C:\]
  83. FileRemoveDir, Path [, Recurse? (1 = yes)]
  84. FileSelectFile, OutputVar [, Options, RootDir[\DefaultFilename], Prompt, Filter]
  85. FileSelectFolder, OutputVar [, *StartingFolder, Options, Prompt]
  86. FileSetAttrib, Attributes(+-^RASHNOT) [, FilePattern, OperateOnFolders?, Recurse?]
  87. FileSetTime [, YYYYMMDDHH24MISS, FilePattern, WhichTime (M|C|A), OperateOnFolders?, Recurse?]
  88. FormatTime, OutputVar [, YYYYMMDDHH24MISS, Format]
  89. GetKeyState, OutputVar, WhichKey [, Mode (P|T)]
  90. Gosub, Label
  91. Goto, Label
  92. GroupActivate, GroupName [, R]
  93. GroupAdd, GroupName, WinTitle [, WinText, Label, ExcludeTitle, ExcludeText]
  94. GroupClose, GroupName [, A|R]
  95. GroupDeactivate, GroupName [, R]
  96. Gui, sub-command [, Param2, Param3, Param4]
  97. GuiControl, Sub-command, ControlID [, Param3]
  98. GuiControlGet, OutputVar [, Sub-command, ControlID, Param4]
  99. Hotkey, KeyName [, Label, Options]
  100. If (var = "Value") | IfWinExist, WinTitle | etc.`n{`n    command1`n    command2`n}`nElse`n{`n    command1`n    command2`n}
  101. If Var [not] between Low and High
  102. If Var [not] contains value1,value2,...
  103. If Var [not] in value1,value2,...
  104. If Var is [not] integer|float|number|digit|xdigit|alpha|upper|lower|alnum|space|time
  105. IfEqual, var, value
  106. IfExist, File|Dir|Pattern
  107. IfGreater, var, value
  108. IfGreaterOrEqual, var, value
  109. IfInString, Var, SearchString
  110. IfLess, var, value
  111. IfLessOrEqual, var, value
  112. IfMsgBox, Yes|No|OK|Cancel|Abort|Ignore|Retry|Timeout
  113. IfNotEqual, var, value
  114. IfNotExist, File|Dir|Pattern
  115. IfNotInString, Var, SearchString
  116. IfWinActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  117. IfWinExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  118. IfWinNotActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  119. IfWinNotExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  120. ImageSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ImageFile
  121. IniDelete, Filename, Section [, Key]
  122. IniRead, OutputVar, Filename, Section, Key [, Default]
  123. IniWrite, Value, Filename, Section, Key
  124. Input [, OutputVar, Options, EndKeys, MatchList]
  125. InputBox, OutputVar [, Title, Prompt, HIDE, Width, Height, X, Y, Font, Timeout, Default]
  126. KeyHistory
  127. KeyWait, KeyName [, Options]
  128. ListHotkeys
  129. ListLines
  130. ListVars
  131. Loop [, Count]`n{`n    ID := A_Index`n    If var%A_Index% =`n    break`n}
  132. Loop, FilePattern [, IncludeFolders?, Recurse?]`n{`n    FileName := A_LoopFileName`n    FileFullPath := A_LoopFileLongPath`n    FileRelativeDir := A_LoopFileDir`n    command2`n}
  133. Loop, Parse, InputVar [, Delimiters|CSV, OmitChars]`n{`n    Line := A_LoopField`n    command2`n}
  134. Loop, Read, InputFile [, OutputFile]`n{`n    Line := A_LoopReadLine`n    command2`n}
  135. Loop, HKLM|HKU|HKCU|HKCR|HKCC [, Key, IncludeSubkeys?, Recurse?]`n{`n    RegName := A_LoopRegName`n    RegType := A_LoopRegType`n    command2`n}
  136. Menu, MenuName, Cmd [, P3, P4, P5]
  137. MouseClick, WhichButton [, X, Y, ClickCount, Speed, D|U, R]
  138. MouseClickDrag, WhichButton, X1, Y1, X2, Y2 [, Speed, R]
  139. MouseGetPos [, OutputVarX, OutputVarY, OutputVarWin, OutputVarControl, 1|2|3]
  140. MouseMove, X, Y [, Speed, R]
  141. MsgBox [, Options, Title, Text, Timeout]
  142. OnExit [, Label]
  143. OutputDebug, Text
  144. Pause [, On|Off|Toggle, OperateOnUnderlyingThread?]
  145. PixelGetColor, OutputVar, X, Y [, Alt|Slow|RGB]
  146. Pixelsearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, Variation, Fast|RGB]
  147. PostMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  148. Process, Cmd, PID-or-Name [, Param3]
  149. Progress, Param1 [, SubText, MainText, WinTitle, FontName]
  150. Random, OutputVar [, Min, Max]
  151. RegDelete, HKLM|HKU|HKCU|HKCR|HKCC, SubKey [, ValueName]
  152. RegRead, OutputVar, HKLM|HKU|HKCU|HKCR|HKCC, SubKey [, ValueName]
  153. RegWrite, REG_SZ|REG_EXPAND_SZ|REG_MULTI_SZ|REG_DWORD|REG_BINARY, HKLM|HKU|HKCU|HKCR|HKCC, SubKey [, ValueName, Value]
  154. Reload
  155. Repeat
  156. Return [, Expression]
  157. Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  158. RunAs [, User, Password, Domain] 
  159. RunWait, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  160. Send, Keys
  161. SendEvent, Keys
  162. SendInput, Keys
  163. SendMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  164. SendMode, Event|Play|Input|InputThenPlay
  165. SendPlay, Keys
  166. SendRaw, Keys
  167. SetBatchLines, -1 | 20ms | LineCount
  168. SetCapsLockState, On|Off|AlwaysOn|AlwaysOff
  169. SetControlDelay, Delay
  170. SetDefaultMouseSpeed, Speed
  171. SetEnv, Var, Value
  172. SetFormat, float|integer, TotalWidth.DecimalPlaces|hex|d
  173. SetKeyDelay [, Delay, PressDuration]
  174. SetMouseDelay, Delay
  175. SetNumLockState, On|Off|AlwaysOn|AlwaysOff
  176. SetScrollLockState, On|Off|AlwaysOn|AlwaysOff
  177. SetStoreCapslockMode, On|Off
  178. SetTimer, Label [, Period|On|Off]
  179. SetTitleMatchMode, Fast|Slow|RegEx|1|2|3
  180. SetWinDelay, Delay
  181. SetWorkingDir, DirName
  182. Shutdown, Code
  183. Sleep, Delay
  184. Sort, VarName [, Options]
  185. SoundBeep [, Frequency, Duration]
  186. SoundGet, OutputVar [, ComponentType, ControlType, DeviceNumber]
  187. SoundGetWaveVolume, OutputVar [, DeviceNumber]
  188. SoundPlay, Filename [, wait]
  189. SoundSet, NewSetting [, ComponentType, ControlType, DeviceNumber]
  190. SoundSetWaveVolume, Percent [, DeviceNumber]
  191. SplashImage [, ImageFile, Options, SubText, MainText, WinTitle, FontName]
  192. SplashTextOff
  193. SplashTextOn [, Width, Height, Title, Text]
  194. SplitPath, InputVar [, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive]
  195. StatusBarGetText, OutputVar [, Part#, WinTitle, WinText, ExcludeTitle, ExcludeText]
  196. StatusBarWait [, BarText, Seconds, Part#, WinTitle, WinText, Interval, ExcludeTitle, ExcludeText]
  197. StringCaseSense, On|Off|Locale
  198. StringGetPos, OutputVar, InputVar, SearchText [, L#|R#, Offset]
  199. StringLeft, OutputVar, InputVar, Count
  200. StringLen, OutputVar, InputVar
  201. StringLower, OutputVar, InputVar [, T]
  202. StringMid, OutputVar, InputVar, StartChar [, Count, L]
  203. StringReplace, OutputVar, InputVar, SearchText [, ReplaceText, All]
  204. StringRight, OutputVar, InputVar, Count
  205. StringSplit, OutputArray, InputVar [, Delimiters, OmitChars]
  206. StringTrimLeft, OutputVar, InputVar, Count
  207. StringTrimRight, OutputVar, InputVar, Count
  208. StringUpper, OutputVar, InputVar [, T]
  209. Suspend [, On|Off|Toggle|Permit]
  210. SysGet, OutputVar, Sub-command [, Param3]
  211. Thread, Setting, P2 [, P3]
  212. ToolTip [, Text, X, Y, WhichToolTip]
  213. Transform, OutputVar, Cmd, Value1 [, Value2]
  214. TrayTip [, Title, Text, Seconds, Options]
  215. URLDownloadToFile, URL, Filename
  216. WinActivate [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  217. WinActivateBottom [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  218. WinClose [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  219. WinGet, OutputVar [, Cmd, WinTitle, WinText, ExcludeTitle, ExcludeText]
  220. WinGetActiveStats, Title, Width, Height, X, Y
  221. WinGetActiveTitle, OutputVar
  222. WinGetClass, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  223. WinGetPos [, X, Y, Width, Height, WinTitle, WinText, ExcludeTitle, ExcludeText]
  224. WinGetText, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  225. WinGetTitle, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  226. WinHide [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  227. WinKill [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  228. WinMaximize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  229. WinMenuSelectItem, WinTitle, WinText, Menu [, SubMenu1, SubMenu2, SubMenu3, SubMenu4, SubMenu5, SubMenu6, ExcludeTitle, ExcludeText]
  230. WinMinimize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  231. WinMinimizeAll
  232. WinMinimizeAllUndo
  233. WinMove, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText]
  234. WinRestore [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  235. WinSet, AlwaysOnTop|Trans, On|Off|Toggle|Value(0-255) [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  236. WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
  237. WinShow [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  238. WinWait, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
  239. WinWaitActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  240. WinWaitClose, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
  241. WinWaitNotActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  242.